import 'package:json_annotation/json_annotation.dart';

part 'bt_update_avatar_result.g.dart';

@JsonSerializable()
class BtUpdateAvatarResult {
  final String mediaId;
  final String userId;
  final String mediaType;
  final String mediaPath;
  final String thumbUrl;

  const BtUpdateAvatarResult({
    required this.mediaId,
    required this.userId,
    required this.mediaType,
    required this.mediaPath,
    required this.thumbUrl,
  });

  factory BtUpdateAvatarResult.fromJson(Map<String, dynamic> json) => _$BtUpdateAvatarResultFromJson(json);

  Map<String, dynamic> toJson() => _$BtUpdateAvatarResultToJson(this);
}
